﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment_Thandar_.Class
{
    class Quotation
    {
        int quotationNumber = 0;
        string quotationDate = "";
        int rfqID = 0;
        int sellerID = 0;
        double itemTotalPrice = 0.0;
        double shippingCharges = 0.0;
        double quotationTotal = 0.0;

        public Quotation()
        {
            quotationNumber = 0;
            quotationDate = "";
            rfqID = 0;
            sellerID = 0;
            itemTotalPrice = 0.0;
            shippingCharges = 0.0;
            quotationTotal = 0.0;
        }

        public Quotation(int number, string date, int rfqid, int sellerid, double itemtotal, double shippingcharge, double quotationtotal)
        {
            quotationNumber = number;
            quotationDate = date;
            rfqID = rfqid;
            sellerID = sellerid;
            itemTotalPrice = itemtotal;
            shippingCharges = shippingcharge;
            quotationTotal = quotationtotal;
        }

        public int QuotationNumber
        {
            get { return quotationNumber; }
            set { quotationNumber = value; }
        }

        public string QuottionDate
        {
            get { return quotationDate; }
            set { quotationDate = value; }
        }

        public int RFQID
        {
            get { return rfqID; }
            set { rfqID = value; }
        }

        public int SellerID
        {
            get { return sellerID; }
            set { sellerID = value; }
        }

        public double ItemsTotalPrice
        {
            get { return itemTotalPrice; }
            set { itemTotalPrice = value; }
        }

        public double ShippingCharges
        {
            get { return shippingCharges; }
            set { shippingCharges = value; }
        }

        public double QuotationTotal
        {
            get { return quotationTotal; }
            set { quotationTotal = value; }
        }
    }
}
